package com.creditcmsplt.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.creditcmsplt.entity.CreditCsvConvert;
import com.creditcmsplt.mapper.CreditCsvConvertMapper;
import com.creditcmsplt.service.CreditCsvConvertService;

@Service
public class CreditCsvConvertServiceImpl implements CreditCsvConvertService {

	@Autowired
	private CreditCsvConvertMapper creditCsvConvertMapper;

	@Transactional
	public Integer insert(CreditCsvConvert creditCsvConvert) {
		return this.creditCsvConvertMapper.insert(creditCsvConvert);
	}

	@Transactional
	public void update(String credit_queryid,Integer status) {
		this.creditCsvConvertMapper.update(credit_queryid,status);
	}

	public CreditCsvConvert getObject(String credit_queryid) {
		return this.creditCsvConvertMapper.getObject(credit_queryid);
	}
}
